﻿using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using HandyControl.Data;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BHan.VM.DeptVM
 {
    public partial class PageDeptVM : ObservableObject, INotifyPropertyChanged
    {

        public PageDeptVM() {
            email1 = "277156034@qq.com";
        }

        [ObservableProperty]
        public string email1;

        [RelayCommand]
        private void Search(object parameter)
        {
            if (parameter is FunctionEventArgs<string> args)
            {
                Email1 = "Hello World";
            }
        }

    }
}
